<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Tymon\JWTAuth\Contracts\JWTSubject;

class DashAdmin extends Authenticatable implements JWTSubject
{
    use HasFactory;

    protected $hidden = ['password'];

    protected $fillable = [
        'uuid', 'admin_id', 'username', 'password',
    ];


    public function getJWTIdentifier()
    {
        return $this->getKey();
    }

    public function getJWTCustomClaims()
    {
        return [];
    }
}
